<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改产品
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default" ng-click="updateSupport.save()" ng-disabled="updateProductForm.$invalid || updateTripForm.$invalid || updateEXPLAINForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" style="clear: both">
		<li><a data-target="#productBaseInfo" data-toggle="tab" class="active">基本信息</a></li>
		<li><a data-target="#tripInfo" data-toggle="tab" ng-click="updateSupport.init_fileupload()">行程</a></li>
		<li><a data-target="#timetableInfo" data-toggle="tab">班期</a></li>
		<li><a data-target="#explainInfo" data-toggle="tab">说明</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active" id="productBaseInfo">
			<form id="updateProductForm" name="updateProductForm">
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label"><span class="notNull">*</span>名称:</label>
							<div class="col-md-10 col-sm-10">
								<input id="name" name="name" type="text" class="form-control" ng-model="updateSupport.entity.name" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.name.$valid"></span>
								<span class="error_tips" ng-show="updateProductForm.name.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">标题:</label>
							<div class="col-md-10 col-sm-10">
								<input id="title" name="title" type="text" class="form-control" ng-model="updateSupport.entity.title" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.title.$valid"></span>
								<span class="error_tips" ng-show="updateProductForm.title.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label"> <span class="notNull">*</span>代码:</label>
							<div class="col-md-10 col-sm-10">
								<input type="text" class="form-control" ng-model="updateSupport.entity.code" disabled>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>类别:</label>
							<div class="col-md-8 col-sm-10">
								<input id=add_productType name="add_productType" type="text" class="form-control">
								<input name="productCategory" type="hidden" class="form-control" ng-model="updateSupport.entity.productCategory" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.productCategory.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span  class="notNull">*</span>类型:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="typeName" name="typeName" type="text" class="form-control">
								<input name="type" type="hidden" class="form-control" ng-model="updateSupport.entity.type" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.type.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span id="productLineSpan" class="notNull">*</span>线路:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="lineName" name="lineName" type="text" class="form-control">
								<input id="lineId" name="lineId" type="hidden" class="form-control" ng-model="updateSupport.entity.lineId" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.lineId.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>人数:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="personNumber" name="personNumber" type="number" min="0" class="form-control" ng-model="updateSupport.entity.personNumber" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.personNumber.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>天数:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="travelDay" name="travelDay" type="number" min="0" ng-model="updateSupport.entity.travelDay" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.travelDay.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>夜数:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="travelNight" name="travelNight" type="number" min="0" class="form-control" ng-model="updateSupport.entity.travelNight">
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.travelNight.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>出发地:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="add_startPlaceProvince" name="add_startPlaceProvince" type="text" class="form-control">
								<input name="startPlaceProvince" type="hidden" class="form-control" ng-model="updateSupport.entity.startPlaceProvince" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.startPlaceProvince.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>城市:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="add_startPlaceCity" name="add_startPlaceCity" type="text" class="form-control">
								<input name="startPlaceCity" type="hidden" class="form-control" ng-model="updateSupport.entity.startPlaceCity" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.startPlaceCity.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>目的地:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="add_endPlaceProvince" name="add_endPlaceProvince" type="text" class="form-control">
								<input name="endPlaceProvince" type="hidden" class="form-control" ng-model="updateSupport.entity.endPlaceProvince" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.endPlaceProvince.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>城市:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="add_endPalceCity" name="add_endPalceCity" type="text" class="form-control">
								<input name="endPlaceCity" type="hidden" class="form-control" ng-model="updateSupport.entity.endPlaceCity" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.endPlaceCity.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>对接人: </label>
							<div class="col-md-8 col-sm-10">
								<input id="controlPerson" name="controlPerson" type="text" ng-model="updateSupport.entity.controlPerson" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.controlPerson.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>提前截止天数:</label>
							<div class="col-md-8 col-sm-10">
								<input id="advanceEndDay" name="advanceEndDay" type="number" min="0" class="form-control" ng-model="updateSupport.entity.advanceEndDay" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.advanceEndDay.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>对接人电话:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="controlPersonPhone" name="controlPersonPhone" type="text" ng-model="updateSupport.entity.controlPersonPhone" class="form-control" ng-pattern="updateSupport.validator.phone" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.controlPersonPhone.$valid"></span>
								<span class="error_tips" ng-show="updateProductForm.controlPersonPhone.$error.pattern">{{ updateSupport.validator.phone_error }}</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>对接人QQ:</label>
							<div class="col-md-8 col-sm-10">
								<input id="controlPersonQq" name="controlPersonQq" type="text" class="form-control" ng-model="updateSupport.entity.controlPersonQq" ng-pattern="/^[0-9]{4,12}$/">
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.controlPersonQq.$valid"></span>
								<span class="error_tips" ng-show="updateProductForm.controlPersonQq.$error.pattern">QQ号码格式不正确！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>成本成本:</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPrice" name="costPrice" type="number" min="0" ng-model="updateSupport.entity.costPrice" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.costPrice.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>成人价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceAdult" name="salePriceAdult" type="number" min="0" class="form-control" ng-model="updateSupport.entity.salePriceAdult" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.salePriceAdult.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>儿童成本:</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPriceChild" name="costPriceChild" type="number" min="0" ng-model="updateSupport.entity.costPriceChild" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.costPriceChild.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>儿童价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceChild" name="salePriceChild" type="number" min="0" ng-model="updateSupport.entity.salePriceChild" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.salePriceChild.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>其他成本:</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPriceOther" name="costPriceOther" type="number" min="0" ng-model="updateSupport.entity.costPriceOther" class="form-control" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.costPriceOther.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>其他价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceOther" name="salePriceOther" type="number" min="0" class="form-control" ng-model="updateSupport.entity.salePriceOther" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.salePriceOther.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">标签:</label>
							<div class="col-md-10 col-sm-10">
								<input id="label" name="Label" type="text" class="form-control" ng-model="updateSupport.entity.label">
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateProductForm.label.$valid"></span>
								<span class="error_tips" ng-show="updateProductForm.label.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">特色:</label>
							<div class="col-md-10 col-sm-10">
								<div id="feature"></div>
								<!-- <textarea id="feature" name="feature" class="form-control" rows="10" ng-model="updateSupport.entity.feature" ng-maxlength="600"></textarea> -->
								<input name="feature" type="hidden" class="form-control" ng-model="updateSupport.entity.feature" ng-maxlength="300" required>
								<span class="error_tips" ng-show="updateProductForm.feature.$error.maxlength">最多不能超过600个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">宣传报:</label>
							<div class="col-md-10 col-sm-10">
								<div id="id_img"></div>
								<div ng-show="updateSupport.entity.image">
									<img ng-if="updateSupport.entity.image.hasOwnProperty('src')" src="{{ updateSupport.entity.image.src}}" style="width: 90%; height: 100%;margin-top: 6px;">
									<img ng-if="!updateSupport.entity.image.hasOwnProperty('src')" src="{{ updateSupport.cache.path + updateSupport.entity.image.path}}" style="width: 90%; height: 100%;margin-top: 6px;">
									<a ng-if="!updateSupport.entity.image.hasOwnProperty('src')" href="javascript:void(0);" ng-click="updateSupport.removeImg(item.resouceId)" style="float: right; "><i class="fa fa-times"></i></a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label  class="col-sm-2 control-label"><span class="notNull">*</span>服务保障:</label>
							<div class="col-sm-10">
								<div id="guarantee"></div>
								<!-- <textarea id="guarantee" name="guarantee" class="form-control" rows="10" ng-model="updateSupport.entity.guarantee" ng-maxlength="300"></textarea> -->
								<input name="guarantee" type="hidden" class="form-control" ng-model="updateSupport.entity.guarantee" ng-maxlength="300" required>
								<span class="error_tips" ng-show="updateProductForm.guarantee.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull">*</span>描述:</label>
							<div class="col-sm-10">
								<textarea id="description" name="description" class="form-control" rows="10" ng-model="updateSupport.entity.description" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="updateProductForm.guarantee.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
		<!-- 行程 -->
		<div class="tab-pane" id="tripInfo">
			<form id="updateTripForm" name="updateTripForm" novalidate>
				<div class="row trip_line"
					ng-repeat="item in updateSupport.entity.trip">
					<div class="col-md-8 form-horizontal">
						<div class="form-group">
							<div class="col-md-12">
								<label class="col-md-2 col-sm-2 control-label">第{{ item.sort }}天</label>
								<div class="col-md-10 col-sm-10">
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="bus" ng-model="item.vehicle.bus">
										巴
									</label>
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="train" ng-model="item.vehicle.train">
										火
									</label>
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="ship" ng-model="item.vehicle.ship">
										船
									</label>
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="subway" ng-model="item.vehicle.subway">
										动
									</label>
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="subway" ng-model="item.vehicle.hsubway">高
									</label>
									<label class="checkbox-inline">
										<input type="checkbox" name="checkbox" value="plane" ng-model="item.vehicle.plane">
										飞
									</label>
								</div>
							</div>
						</div>
					</div>
					<div class="col-md-4 form-horizontal">
						<div class="form-group">
							<div class="col-md-12">
								<label class="col-md-6 col-sm-6 control-label">是否过境</label>
								<div class="col-md-6 col-sm-6">
									<label class="radio-inline" style="margin-left: -10px;">
										<input type="radio" name="isAbroad_{{ item.sort }}" value="true" ng-value="true" ng-model="item.isAbroad" ng-checked="item.isAbroad==true"> 是
									</label>
									<label class="radio-inline">
										<input type="radio" name="isAbroad_{{ item.sort }}" value="false" ng-value="false" ng-checked="item.isAbroad==false"> 否
									</label>
								</div>
							</div>
						</div>
					</div>
					<div class="col-md-9 form-horizontal" style="margin-left: -43px;">
						<div class="form-group">
							<label class="col-md-3 col-sm-3 control-label"></label>
							<div class="col-sm-9 col-sm-10">
								<textarea name="description_{{ item.sort }}" class="form-control" rows="5" ng-model="item.description" ng-maxlength="300" required></textarea>
								<span class="error_tips" ng-show="updateTripForm.description_{{ item.sort }}.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-3 form-horizontal">
						<div class="form-group">
							<div class="col-sm-12 col-sm-12"">
								<div id="id_{{ item.sort }}"></div>
								<div ng-show="item.resource && item.resource.resouceId">
									<img ng-if="item.resource.hasOwnProperty('src')" id="image_{{ item.sort }}" src="{{ item.resource.src}}" style="width: 90%; height: 100%;">
									<img ng-if="!item.resource.hasOwnProperty('src')" id="image_{{ item.sort }}" src="{{ updateSupport.cache.path + item.resource.path}}" style="width: 90%; height: 100%;">
									<a ng-if="!item.resource.hasOwnProperty('src')" href="javascript:void(0);" ng-click="updateSupport.tripRemoveImg(item.resource.resouceId)" style="float: right; ">
										<i class="fa fa-times"></i>
									</a>
								</div>
							</div>
						</div>
					</div>
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label for="productGuarantee" class="col-sm-2 control-label">用餐说明:</label>
							<div class="col-sm-10">
								<label class="checkbox-inline"> <input type="checkbox"
									name="checkbox" id="c1" value="bus"
									ng-model="item.meal.breakfast"> 早
								</label> <label class="checkbox-inline"> <input type="checkbox"
									name="checkbox" id="c2" value="train"
									ng-model="item.meal.lunch"> 午
								</label> <label class="checkbox-inline"> <input type="checkbox"
									name="checkbox" id="c3" value="ship"
									ng-model="item.meal.dinner"> 晚
								</label> <label class="checkbox-inline"> <input type="checkbox"
									name="checkbox" value="plane" ng-model="item.meal.aircraft">
									飞机
								</label> <!-- <label class="checkbox-inline"> <input type="checkbox"
									name="checkbox" id="c4" value="subway"
									ng-model="item.meal.nothing"> 无
								</label> -->
							</div>
						</div>
					</div>
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label">住宿说明:</label>
							<div class="col-sm-10">
								<textarea name="stayDescribe_{{ item.sort }}" class="form-control" rows="5" ng-model="item.stayDescribe" ng-maxlength="300" required></textarea>
								<span class="error_tips" ng-show="updateTripForm.stayDescribe_{{ item.sort }}.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -46px;">
						<div class="form-group">
							<label  class="col-sm-2 control-label">自定义:</label>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: 10px;padding-right: 34px;">
						<div class="form-group">
							<div class="col-sm-12">
								<div id="customTripName"></div>
								<input name="customTrip" type="hidden" class="form-control" ng-maxlength="6000">
								<span class="error_tips" ng-show="updateTripForm.customTrip.$error.maxlength">最多不能超过8000个字符！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
		<!-- 班期 -->
		<div class="tab-pane" id="timetableInfo">
			<form id="updateTimetableForm" name="updateTimetableForm" novalidate>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>开始时间:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="startDate" name="startDate" type="text" class="form-control" ng-model="updateSupport.bind.timetable.startDate" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.startDate.$dirty && updateTimetableForm.startDate.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>结束时间:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="endDate" name="endDate" type="text" class="form-control" ng-model="updateSupport.bind.timetable.endDate" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.endDate.$dirty && updateTimetableForm.endDate.$valid"></span>
							</div>
						</div>
					</div>
					<!-- <div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>时间:</label>
							<div class="col-md-8 col-sm-10">
								<input id="date" name="date" type="text" class="form-control" ng-model="updateSupport.bind.timetable.date" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.date.$dirty && updateTimetableForm.date.$valid"></span>
							</div>
						</div>
					</div> -->
					<!-- <div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>数量:</label>
							<div class="col-md-8 col-sm-10">
								<input id="personNum" name="personNum" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.personNum" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.personNum.$dirty && updateTimetableForm.personNum.$valid"></span>
							</div>
						</div>
					</div> -->
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>成人成本:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPrice" name="costPrice" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.costPrice" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.costPrice.$dirty && updateTimetableForm.costPrice.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>成人价格:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceAdult" name="salePriceAdult" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceAdult" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceAdult.$dirty && updateTimetableForm.salePriceAdult.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>儿童成本:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPriceChild" name="costPriceChild" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.costPriceChild" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.costPriceChild.$dirty && updateTimetableForm.costPriceChild.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>儿童价格:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceChild" name="salePriceChild" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceChild" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceChild.$dirty && updateTimetableForm.salePriceChild.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>其他成本:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="costPriceOther" name="costPriceOther" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.costPriceOther" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.costPriceOther.$dirty && updateTimetableForm.costPriceOther.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>其他价格:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceOther" name="salePriceOther" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceOther" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceOther.$dirty && updateTimetableForm.salePriceOther.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>数量:</label>
							<div class="col-md-8 col-sm-10">
								<input id="personNum" name="personNum" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.personNum" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.personNum.$dirty && updateTimetableForm.personNum.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span
								class="notNull">*</span>余量:
							</label>
							<div class="col-md-8 col-sm-10">
								<input id="restPersonNum" name="restPersonNum" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.restPersonNum" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.restPersonNum.$dirty && updateTimetableForm.restPersonNum.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<!-- <div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>成人价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceAdult" name="salePriceAdult" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceAdult" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceAdult.$dirty && updateTimetableForm.salePriceAdult.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>儿童价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceChild" name="salePriceChild" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceChild" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceChild.$dirty && updateTimetableForm.salePriceChild.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>其它价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePriceOther" name="salePriceOther" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.salePriceOther" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.salePriceOther.$dirty && updateTimetableForm.salePriceOther.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"> <span class="notNull">*</span>余量:</label>
							<div class="col-md-8 col-sm-10">
								<input id="restPersonNum" name="restPersonNum" type="number" min="0" class="form-control" ng-model="updateSupport.bind.timetable.restPersonNum" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTimetableForm.restPersonNum.$dirty && updateTimetableForm.restPersonNum.$valid"></span>
							</div>
						</div>
					</div>
				</div> -->
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span class="notNull">*</span>描述:</label>
							<div class="col-sm-8">
								<textarea id="tripDescription" name="tripDescription" class="form-control" rows="5" ng-model="updateSupport.bind.timetable.description" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="updateTimetableForm.tripDescription.$error.maxlength">最多不能超过300个字符！</span>
							</div>
							<div class="col-sm-2">
								<button type="button" class="btn btn-default" ng-click="updateSupport.addTimetable()" ng-disabled="updateTimetableForm.$invalid">
									<i class="fa fa-outdent"></i>添加
								</button>
							</div>
						</div>
					</div>
				</div>
			</form>
			<div class="row timetable">
				<ul>
					<li>
						<div class="row">
							<!-- <div class="col-md-3">时间</div> -->
							<div class="col-md-2">时间</div>
							<div class="col-md-1">数量</div>
							<div class="col-md-1">余量</div>
							<div class="col-md-1">成人成本</div>
							<div class="col-md-1">成人</div>
							<div class="col-md-1">儿童成本</div>
							<div class="col-md-1">儿童</div>
							<div class="col-md-1">其他成本</div>
							<div class="col-md-2">其他</div>
						</div>
					</li>
					<li ng-repeat="(index, item) in updateSupport.entity.timetable">
						<div class="row">
							<!-- <div class="col-md-3">{{ item.startDate }} 至 {{ item.endDate }}</div> -->
							<div class="col-md-2">{{ item.date.replace("00:00:00", "") }}</div>
							<div class="col-md-1">{{ item.personNum }}</div>
							<div class="col-md-1">{{ item.restPersonNum }}</div>
							<div class="col-md-1">{{ item.costPrice }}</div>
							<div class="col-md-1">{{ item.salePriceAdult }}</div>
							<div class="col-md-1">{{ item.costPriceChild }}</div>
							<div class="col-md-1">{{ item.salePriceChild }}</div>
							<div class="col-md-1">{{ item.costPriceOther }}</div>
							<div class="col-md-2">{{ item.salePriceOther }}<i class="fa fa-times del" ng-click="updateSupport.entity.timetable.splice(index,1)"></i></div>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<!-- 说明 -->
		<div class="tab-pane" id="explainInfo">
			<form id="updateEXPLAINForm" name="updateEXPLAINForm" novalidate>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label">预定须知:</label>
							<div class="col-sm-10">
								<div id="explainNotes"></div>
								<!-- <textarea id="explainNotes" name="explainNotes" class="form-control" rows="10" ng-model="updateSupport.entity.explain.notes" ng-maxlength="600"></textarea> -->
								<input name="explainNotes" type="hidden" class="form-control" ng-model="updateSupport.entity.explain.notes" ng-maxlength="300" required>
								<span class="error_tips" ng-show="updateEXPLAINForm.explainNotes.$error.maxlength">最多不能超过600个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label">费用说明:</label>
							<div class="col-sm-10">
								<div id="explainCosts"></div>
								<!-- <textarea id="tripDescription" name="tripDescription" class="form-control" rows="10" ng-model="updateSupport.entity.explain.costs" ng-maxlength="600"></textarea> -->
								<input name="explainCosts" type="hidden" class="form-control" ng-model="updateSupport.entity.explain.costs" ng-maxlength="300" required>
								<span class="error_tips" ng-show="updateEXPLAINForm.explainCosts.$error.maxlength">最多不能超过600个字符！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>